import { RouterProvider } from 'react-router-dom'
import routes from './router/index' // 导入路由表

function App() {
  return (
    <div>
      <div className="main">
        <RouterProvider router={routes}/>
      </div>
    </div>
  );
}

export default App;